
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
document.getElementsByTagName("head")[0].appendChild(fileref);

var demoad = document.createElement('div');
demoad.id = 'cdawrap';

document.getElementsByTagName('body')[0].appendChild(demoad);



var bsa = document.createElement('script');
bsa.type = 'text/javascript';
bsa.async = true;
bsa.src = 'http://cdn.buysellads.com/ac/pro.js';
document.getElementsByTagName('head')[0].appendChild(bsa);
/*
var bsa_tmp = document.createElement('script');
bsa_tmp.type = 'text/javascript';
bsa_tmp.async = true;
bsa_tmp.id = "_fusionads_js";
bsa_tmp.src = 'http://adn.fusionads.net/api/1.0/ad.js?zoneid=184&rand=682';
document.getElementsByTagName('head')[0].appendChild(bsa_tmp);*/